]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Add destroy handler for FolderIcon
authorRay Strode <rstrode@redhat.com>
Mon, 22 Jul 2019 14:57:57 +0000 (10:57 -0400)
committerRay Strode <halfline@gmail.com>
Tue, 23 Jul 2019 14:53:24 +0000 (14:53 +0000)
commitda9f37e6295200ef893131f4e8c20cb90bb6833c
tree9f9fce4d33a2acb34796d3a87cdb7a0a8cce5975
parent164f3fa3fd4fc37be043c7aa659cbe1f0cc94ab1
appDisplay: Add destroy handler for FolderIcon

It is important that the FolderView of a FolderIcon always
gets destroyed before the AppFolderPopup, since the view
may or may not be in the popup, and the view should
get cleaned up exactly once in either case.

This commit adds a destroy handler on FolderIcon to ensure
things get taken down in the right order, and to make sure
the view isn't leaked if it's not yet part of the popup.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/628
js/ui/appDisplay.js